namespace ContosoUniversity.Domain.Core.Behaviours
{
    public class DeleteStudentRequestInvariantValidation : UserDomainRequestInvariantValidation<DeleteStudentRequest, DeleteStudentCommandModel>
    {
        public DeleteStudentRequestInvariantValidation(DeleteStudentRequest context)
            : base(context)
        {
        }

        public void CommandModelCannotBeNull()
        {
            Assert(Context.CommandModel != null);
        }
    }
}
